package com.xqboss.apps.domain.consumer;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.nft.NftTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 回收空投
 *
 * @author makejava
 * @since 2024-02-22 10:50:36
 */
@Data
@ApiModel("回收空投")
public class ConsumerRecycle extends BaseTable {


    @TableId(type = IdType.AUTO)
    private Long id;


    @ApiModelProperty("转出用户id")
    private Long fromUserId;


    @ApiModelProperty("转入用户id")
    private Long toUserId;


    @ApiModelProperty("空投类型")
    private NftTypeEnum type;


    @ApiModelProperty("空投方式")
    private Integer method;


    @ApiModelProperty("空投数量")
    private Integer num;


    @ApiModelProperty("空投资源id")
    private Long sourceId;


    @ApiModelProperty("指定藏品编码")
    private String nftNumberStr;


    @ApiModelProperty("空投原因")
    private String toReason;

    @ApiModelProperty("回收原因")
    private String fromReason;


    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人id")
    private Long createBy;
}
